/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm_candidatos;

public class Candidatos {
	public Candidatos() {
	}
	
	private int id_candidato;
	
	private String nombre;
	
	private String run;
	
	private int votos;
	
	private void setId_candidato(int value) {
		this.id_candidato = value;
	}
	
	public int getId_candidato() {
		return id_candidato;
	}
	
	public int getORMID() {
		return getId_candidato();
	}
	
	public void setNombre(String value) {
		this.nombre = value;
	}
	
	public String getNombre() {
		return nombre;
	}
	
	public void setRun(String value) {
		this.run = value;
	}
	
	public String getRun() {
		return run;
	}
	
	public void setVotos(int value) {
		this.votos = value;
	}
	
	public int getVotos() {
		return votos;
	}
	
	public String toString() {
		return String.valueOf(getId_candidato());
	}
	
}
